$topNavHeight=64px;
$leftNavWidth=215px;
$activeColor=#ff6c60;

iframe
  width: 100%;
  height: 100%;
  margin: 0;
  border: none;
  display: block;
  overflow: hidden;
.container
  position: absolute;
  left: 0;
  right: 0;
  width: 100%;
  min-height: 100%;
$tabWidth = 95px;
$tabBarHeight = 4px;
  .nav
    width: 100%;
    height: $topNavHeight;
    position: relative;
    z-index: 9999;
    background-color: #2a3542;
    border-bottom: 1px solid #3e4854;
    box-sizing: border-box;
    .nav-tabs
      height: 100%;
      float: left;
      position: relative;
      margin-left: 128px;
      @media screen and (max-width: 1200px)
        margin-left: 50px;
      @media screen and (max-width: 1140px)
        margin-left: 10px;
      .tabs
        height: 100%;
        .tab-bar
          width: $tabWidth;
          height: $tabBarHeight;
          background-color: $activeColor;
          position: absolute;
          bottom: 0;
          left: 0;
          transition: left 200ms;
          @media screen and (max-width: 1050px)
            width: $tabWidth - 10px;
          @media screen and (max-width: 900px)
            width: $tabWidth - 20px;
        .tab
          width: $tabWidth;
          height: 100%;
          float: left;
          text-align: center;
          color: #fff;
          font-size: 14px;
          line-height: $topNavHeight;
          cursor: pointer;
          @media screen and (max-width: 1050px)
            width: $tabWidth - 10px;
          @media screen and (max-width: 900px)
            width: $tabWidth - 20px;
        .tab.active
          color: $activeColor;
    .logo
      width: $leftNavWidth;
      height: 100%;
      float: left;
      display: block;
      color: #fff;
      font-size: 22px;
      text-align: center;
      line-height: $topNavHeight;
      @media screen and (max-width: 1100px)
        width: $leftNavWidth - 50px;
      img
        width: auto;
        margin: 0 auto;
        height: 100%;
        text-align: center;
        border: none;
        overflow: hidden;
    .right-area
      float: right;
      height: 100%;
      padding: 10px 20px;
      box-sizing: border-box;
      .operate
        float: left;
        padding: (($topNavHeight - 20px - 32px) / 2) 0;
        margin-right: 10px;
        button
          margin-right: 5px;
        @media screen and (max-width: 980px)
          .shrink
            display: none;
          .enlarge
            display: none;
      .admin
        width: w = 115px;
        border: 1px solid #80868d;
        border-radius: 3px;
        height: 100%;
        float: right;
        padding: 5px 3px;
        box-sizing: border-box;
        cursor: pointer;
        position: relative;
        .dropdown
          display: none;
          position: absolute;
          top: 30px;
          right: 5px;
          width: 70px;
          padding-top: 5px;
          box-sizing: border-box;
          text-align: left;
          font-size: 13px;
          color: #fff;
          background-color: #2a3542;
          li
            width: 70px;
            height: 35px;
            line-height: 35px;
            padding-left: 7px;
            box-sizing: border-box;
            a
              color: #fff;
            &:hover
              background-color: $activeColor;
        .dropdown.open
          display: block;
           
        &::after
          content: '';
          position: absolute;
          top: 50%;
          right: 8px;
          margin-top: -5px;
          width: 10px;
          height: 10px;
          background: url('../../assets/images/bottom-arrow.png') no-repeat;
          background-position: center;
        .admin-avatar
          width: @width * 0.3;
          float: left;
          img
            width: 100%;
            height: 100%;
            display: block;
        .admin-name
          float: left;
          height: 100%;
          color: #fff;
          font-size: 14px;
          line-height: $topNavHeight - 10 - 20;
          padding-left: 7px;
  .main-area
    position: absolute;
    top: 0;
    left: 0;
    box-sizing: border-box;
    padding-top: $topNavHeight;
    width: 100%;
    height: 100%;
    z-index: 10;
    .left-nav
      position: absolute;
      left: 0;
      top: 0;
      box-sizing: border-box;
      padding-top: $topNavHeight;
      width: $leftNavWidth;
      z-index: 9998;
      height: 100%;
    .content
      width: 100%;
      height: 100%;
      padding-left: $leftNavWidth;
      box-sizing: border-box;